﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace MutFormStudio.test {
	public partial class testControl : UserControl, StudioControl {
		public testControl() {
			InitializeComponent();
		}
		public testControl(string init_name, Color head_color) {
			InitializeComponent();
			mainRTC.Text = init_name;
			Create_str = init_name;
			Head_text = init_name;
			Head_color = head_color;
		}

		public ContextMenuStrip HeadContextMenuStrip => null;
		public string Create_str { get; set; }

		string head_text = "";
		public event EventHandler eHeadTestChanged;
		public string Head_text {
			get => head_text; set {
				head_text = value;
				eHeadTestChanged?.Invoke(this, null);
			}
		}

		public Color Head_color { get; set; }
		public Action dHeadTestChanged { get; set ; }
	}
}
